/**
 * Created by Administrator on 2017/11/28.
 */
export default {
	data(){
		return{
		}
	},
	created()
	{
		document.body.scrollTop = 0;
		document.documentElement.scrollTop = 0;
	},
	computed:{

	},
	mounted()
	{
		var screenH = document.documentElement.clientHeight || document.body.clientHeight;

		if(this.$refs['bodyHeight']){
			var bodyHeight = this.$refs['bodyHeight'];
			console.dir(bodyHeight);
			bodyHeight.style.height = (screenH < bodyHeight.clientHeight ? bodyHeight.clientHeight : screenH) + 'px';
		}

	},
	methods:{
	}
}